package top.qitun.common.api.gateway;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import top.qitun.bizz.shop.ttable.entity.TTableBO;
import top.qitun.model.response.ObjectDataResponse;

@FeignClient(name="shop-ms")
public interface ShopServiceAPI {
	
	@RequestMapping(value = "v1/table/{tableid}", method = RequestMethod.GET)
	ObjectDataResponse<TTableBO> queryTableById(@PathVariable("tableid") Integer tableid);

}
